const { Sequelize } = require("sequelize");

//连接的数据库，用户名，密码，指定数据库驱动
const sequelize = new Sequelize("reactblog", "root", "123456", {
  dialect: "mysql",
  host: "localhost", //默认值
  port: 3307,
});

module.exports = sequelize;
